<!-- view translations -->
<?php $this->render('common/headerPopup'); ?>
	<div class="container">
        <?php $this->render('common/errors'); ?>
		<h3>View leksem translation</h3>
		<input type="hidden" id="hid-leks-id" name="leksId" value="<?php echo $leksem->id; ?>">
		<table border="0">
			<tr>
				<td class="t-label">Leksem name:</td>
				<td class="pad"><?php echo $leksem->name; ?></td>
			</tr>
			<tr>
				<td class="t-label">Leksem original value:</td>
				<td class="pad"><?php echo $leksem->value; ?></td>
			</tr>
            <tr>
				<td class="t-label">Leksem context:</td>
				<td class="pad"><?php echo (empty($leksem->context) ? 'no context' : $leksem->context); ?></td>
			</tr>
			<tr>
				<td class="t-label">Choose language:</td>
				<td>
					<select name="dict" id="lang" class="ddown">
						<option value="0" selected="selected">choose language</option>
						<?php foreach ($dicts as $dict): ?>
							<option value="<?php echo $dict->id ?>"><?php echo $dict->name; ?></option>
						<?php endforeach; ?>
					</select>
				</td>
			</tr>
			<tr>
				<td class="t-label">Translation:</td>
				<td class="pad">
					<div id="translation" class="center " style="border: 1px dashed #ddd;">
						<p>Please choose a language</p>
					</div>
				</td>
			</tr>
		</table>	
	</div>
<?php $this->render('common/footerPopup')?>